package com.ruoyi.exam.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.exam.mapper.ExamConflictLogMapper;
import com.ruoyi.exam.domain.ExamConflictLog;
import com.ruoyi.exam.service.IExamConflictLogService;

/**
 * 冲突检测日志管理Service业务层处理
 * 
 * @author ruoyi
 * @date 2025-11-11
 */
@Service
public class ExamConflictLogServiceImpl implements IExamConflictLogService 
{
    @Autowired
    private ExamConflictLogMapper examConflictLogMapper;

    /**
     * 查询冲突检测日志管理
     * 
     * @param logId 冲突检测日志管理主键
     * @return 冲突检测日志管理
     */
    @Override
    public ExamConflictLog selectExamConflictLogByLogId(Long logId)
    {
        return examConflictLogMapper.selectExamConflictLogByLogId(logId);
    }

    /**
     * 查询冲突检测日志管理列表
     * 
     * @param examConflictLog 冲突检测日志管理
     * @return 冲突检测日志管理
     */
    @Override
    public List<ExamConflictLog> selectExamConflictLogList(ExamConflictLog examConflictLog)
    {
        return examConflictLogMapper.selectExamConflictLogList(examConflictLog);
    }

    /**
     * 新增冲突检测日志管理
     * 
     * @param examConflictLog 冲突检测日志管理
     * @return 结果
     */
    @Override
    public int insertExamConflictLog(ExamConflictLog examConflictLog)
    {
        return examConflictLogMapper.insertExamConflictLog(examConflictLog);
    }

    /**
     * 修改冲突检测日志管理
     * 
     * @param examConflictLog 冲突检测日志管理
     * @return 结果
     */
    @Override
    public int updateExamConflictLog(ExamConflictLog examConflictLog)
    {
        return examConflictLogMapper.updateExamConflictLog(examConflictLog);
    }

    /**
     * 批量删除冲突检测日志管理
     * 
     * @param logIds 需要删除的冲突检测日志管理主键
     * @return 结果
     */
    @Override
    public int deleteExamConflictLogByLogIds(Long[] logIds)
    {
        return examConflictLogMapper.deleteExamConflictLogByLogIds(logIds);
    }

    /**
     * 删除冲突检测日志管理信息
     * 
     * @param logId 冲突检测日志管理主键
     * @return 结果
     */
    @Override
    public int deleteExamConflictLogByLogId(Long logId)
    {
        return examConflictLogMapper.deleteExamConflictLogByLogId(logId);
    }
}
